﻿using zhwy.saas.api.Entity.Other;
using zhwy.saas.api.Models.Other.Files;

namespace zhwy.saas.api.Services.Sinterface.Other
{
    public interface IFilesService : IBaseService<FilesEntity>
    {
        /// <summary>
        /// 添加文件信息
        /// </summary>
        /// <param name="file">文件</param>
        /// <param name="userid">用户ID</param>
        /// <param name="tenantid">租户ID</param>
        /// <param name="sysUploadType">上传文件系统渠道</param>
        /// <returns>文件信息</returns>
        Task<FilesRes> AddFiles(IFormFile file, long userid, int tenantid, string sysUploadType = null);
    }
}
